//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright 2007 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   COUNTRY
// AUTHOR           :   Craig Chun 
// DATE CREATE      :   2007/07/12
// DESCRIPTION      :   a CRITERIA file for the function, COUNTRY
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2007/07/12   Craig Chun      1.0                 source is generated.
//
//
//
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

package com.erp.app.setup.country.criteria;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;
import com.erp.framework.model.criteria.SimpleSearchMaintStyleSrchCriteria;

/**
* <p>A <strong>SrchCriteria</strong>
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this bean is to store the user search criteria input
* for database query.
*
* @author          Craig Chun 
* @version 1.0     2007/07/12
* @since           FrameWork 1.0
*
*/

// Note:
// Currently only generates the first -1 fields of a table
// However, this number can be set in GenConstants.NO_CRITERIA

public class CountryHdrSrchCriteria extends SimpleSearchMaintStyleSrchCriteria {

	//Searching Criteria Attributes (DB Table Name: T_COUNTRY_HDR)
	private String srchCompanyCode;                                                                    //DB Column Name: COMPANY_CODE
	private String srchHdrStatus;                                                                      //DB Column Name: STATUS
	private String srchCountryCodeFr;                                                                  //DB Column Name: COUNTRY_CODE
	private String srchCountryCodeTo;                                                                  //DB Column Name: COUNTRY_CODE
	private String srchHdrCountryNameFr;                                                               //DB Column Name: COUNTRY_NAME
	private String srchHdrCountryNameTo;                                                               //DB Column Name: COUNTRY_NAME
	private String srchHdrIsoCountryCodeFr;                                                            //DB Column Name: ISO_COUNTRY_CODE
	private String srchHdrIsoCountryCodeTo;                                                            //DB Column Name: ISO_COUNTRY_CODE
	private String srchHdrCountryAbbrFr;                                                               //DB Column Name: COUNTRY_ABBR
	private String srchHdrCountryAbbrTo;                                                               //DB Column Name: COUNTRY_ABBR

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Craig Chun 
	* @since      Framework 1.0
	*/
	public String toString() {
		String pkStr = "PK: {srchCountryCodeFr = " + this.srchCountryCodeFr
			+ "\n, srchCountryCodeTo = " + this.srchCountryCodeTo + "}\n";

		String colStr = "COL: {srchHdrCountryNameFr = " + this.srchHdrCountryNameFr
			+ "\n, srchHdrCountryNameTo = " + this.srchHdrCountryNameTo
			+ "\n, srchHdrIsoCountryCodeFr = " + this.srchHdrIsoCountryCodeFr
			+ "\n, srchHdrIsoCountryCodeTo = " + this.srchHdrIsoCountryCodeTo
			+ "\n, srchHdrCountryAbbrFr = " + this.srchHdrCountryAbbrFr
			+ "\n, srchHdrCountryAbbrTo = " + this.srchHdrCountryAbbrTo + "}\n";

		String mandatoryStr = "{srchCompanyCode = " + this.srchCompanyCode
			+ "\n, srchHdrStatus = " + this.srchHdrStatus
			+ "}\n";

		return "toString() is:\n" + mandatoryStr + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods) for searching criterias
	////////////////////////////////////////////////////////////////////////////////

	public String getSrchCompanyCode() {
		return this.srchCompanyCode;
	}

	public String getSrchHdrStatus() {
		return this.srchHdrStatus;
	}

	public String getSrchCountryCodeFr() {
		return this.srchCountryCodeFr;
	}

	public String getSrchCountryCodeTo() {
		return this.srchCountryCodeTo;
	}

	public String getSrchHdrCountryNameFr() {
		return this.srchHdrCountryNameFr;
	}

	public String getSrchHdrCountryNameTo() {
		return this.srchHdrCountryNameTo;
	}

	public String getSrchHdrIsoCountryCodeFr() {
		return this.srchHdrIsoCountryCodeFr;
	}

	public String getSrchHdrIsoCountryCodeTo() {
		return this.srchHdrIsoCountryCodeTo;
	}

	public String getSrchHdrCountryAbbrFr() {
		return this.srchHdrCountryAbbrFr;
	}

	public String getSrchHdrCountryAbbrTo() {
		return this.srchHdrCountryAbbrTo;
	}

	public void setSrchCompanyCode(String srchCompanyCode) {
		this.srchCompanyCode = srchCompanyCode;
	}

	public void setSrchHdrStatus(String srchHdrStatus) {
		this.srchHdrStatus = srchHdrStatus;
	}

	public void setSrchCountryCodeFr(String srchCountryCodeFr) {
		this.srchCountryCodeFr = srchCountryCodeFr;
	}

	public void setSrchCountryCodeTo(String srchCountryCodeTo) {
		this.srchCountryCodeTo = srchCountryCodeTo;
	}

	public void setSrchHdrCountryNameFr(String srchHdrCountryNameFr) {
		this.srchHdrCountryNameFr = srchHdrCountryNameFr;
	}

	public void setSrchHdrCountryNameTo(String srchHdrCountryNameTo) {
		this.srchHdrCountryNameTo = srchHdrCountryNameTo;
	}

	public void setSrchHdrIsoCountryCodeFr(String srchHdrIsoCountryCodeFr) {
		this.srchHdrIsoCountryCodeFr = srchHdrIsoCountryCodeFr;
	}

	public void setSrchHdrIsoCountryCodeTo(String srchHdrIsoCountryCodeTo) {
		this.srchHdrIsoCountryCodeTo = srchHdrIsoCountryCodeTo;
	}

	public void setSrchHdrCountryAbbrFr(String srchHdrCountryAbbrFr) {
		this.srchHdrCountryAbbrFr = srchHdrCountryAbbrFr;
	}

	public void setSrchHdrCountryAbbrTo(String srchHdrCountryAbbrTo) {
		this.srchHdrCountryAbbrTo = srchHdrCountryAbbrTo;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}
